<?php
/**
 * Description of BookingController
 *
 * @author luigi.pastore
 * @created  8-giu-2011
 */
class BookingController extends Classes_Controller
{
    public function init()
    {
//	$this->model_contact	= new Classes_Contact();
//	$this->model_province	= new Classes_Province();
//	
//	$this->contact_roles = $this->application->getResource( 'ContactRoles' );
//	
//	$this->layout->province = $this->model_province->fetchAll();
//	$this->layout->contact_roles = $this->contact_roles;
	
    }
    
    public function indexAction()
    {
        $this->model_live           = new Classes_Live();
        $this->layout->live_count   = $this->model_live->getCount( new Classes_SqlExpression( 'live_date >= CURDATE()' ) );
	$this->layout->content      = array( 'script' => 'booking/index' );
    }
}

